package com.lagou.model;

public class StudentMessage implements java.io.Serializable {
    private static final long serialVersionUID = 854328325163358338L;
    private  Student s;
    private  String type;

    public StudentMessage(Student s, String type) {
        this.s = s;
        this.type = type;
    }

    public Student getS() {
        return s;
    }

    public void setS(Student s) {
        this.s = s;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "studentMessage{" +
                "s=" + s +
                ", type='" + type + '\'' +
                '}';
    }
}
